﻿using System;
using System.Runtime.InteropServices;

namespace Valve.VR
{
	// Token: 0x0200079A RID: 1946
	public class CVRResources
	{
		// Token: 0x06002F14 RID: 12052 RVA: 0x000F3DB8 File Offset: 0x000F1FB8
		internal CVRResources(IntPtr pInterface)
		{
			this.FnTable = (IVRResources)Marshal.PtrToStructure(pInterface, typeof(IVRResources));
		}

		// Token: 0x06002F15 RID: 12053 RVA: 0x000F3DDC File Offset: 0x000F1FDC
		public uint LoadSharedResource(string pchResourceName, string pchBuffer, uint unBufferLen)
		{
			return this.FnTable.LoadSharedResource(pchResourceName, pchBuffer, unBufferLen);
		}

		// Token: 0x06002F16 RID: 12054 RVA: 0x000F3E00 File Offset: 0x000F2000
		public uint GetResourceFullPath(string pchResourceName, string pchResourceTypeDirectory, string pchPathBuffer, uint unBufferLen)
		{
			return this.FnTable.GetResourceFullPath(pchResourceName, pchResourceTypeDirectory, pchPathBuffer, unBufferLen);
		}

		// Token: 0x04002AEA RID: 10986
		private IVRResources FnTable;
	}
}
